package com.hopu.service;

import com.hopu.pojo.House;

import java.util.List;

public interface HouseService {
    List<House> findAllHousePD(Integer hflag);

    int addHouse(Integer sid, Integer aid, String haddress, String hfh, String hhx, String hmj, String hcx, float hmoney, float hwf, float hdx, float hsf, float hmq, float dkd, float skd, float mkd, String hjp, String hremark, String himg);

    House findHouseById(Integer hid);

    int uppHouse(Integer hid, Integer sid, Integer aid, String haddress, String hfh, String hhx, String hmj, String hcx, float hmoney, float hwf, float hdx, float hsf, float hmq, float dkd, float skd, float mkd, String hjp, String hremark);

    int delHouse(int hid);

    int huiFuHouse(int hid);

    List<House> findHouseByAid(Integer aid);

    List<House> findAllHouseByCondition(House house);

    List<House> findAllHouseByAidAndSid(House house);

}
